package com.ytjj.qmyx.supplychain.mapper;

import com.ytjj.qmyx.supplychain.common.model.request.CountryRequest;
import com.ytjj.qmyx.supplychain.common.model.response.IndexRankResponse;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;

/**
 * 
 * 
 * @Version: 1.0
 */
public interface IndexMapper {

    Integer getAllOrderNum(Integer bankerId);

    BigDecimal getTotalMoney(Integer bankerId);

    Integer getWaitDeliverGood(Integer bankerId);

    Integer getAllGood(Integer bankerId);

    BigDecimal getTotalRevenue(Integer bankerId);

    Integer getUpGood(Integer bankerId);

    Integer getDownGood(Integer bankerId);

    Integer getExamingGood(Integer bankerId);

    List<IndexRankResponse> getIndexRankResponse(@Param("bankerId") Integer bankerId, @Param("dateType") String dateType);

    BigDecimal getCostPrice(Integer orderId);

    Integer insertCountry(CountryRequest request);

}
